﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewsCollection.Data
{
    public class News
    {
        [Key]
        public int Id { get; set; }
        public string Title { get; set; }
        public string ShortDescription { get; set; }
        public byte[] FirstImage { get; set; }
        public byte[] SecondImage { get; set; }
        public string UrlFirstImage { get; set; }
        public string FullDescription { get; set; }
        public byte[] Thumb { get; set; }
        public string UrlImage { get; set; }
      
        public string sId { get; set; }
        public DateTime CreatedDate { get; set; }
        public Boolean IsFeatured { get; set; }
        public string Url { get; set; }

      
        public virtual Category Category { get; set; }
        public virtual Manufactory Manufactory { get; set; }
       

       

     
    }
}
